package com.his.api.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.his.dao.domain.dto.ListDto;
import com.his.dao.domain.dto.RegistrationDto;
import com.his.dao.domain.entity.Patient;
import com.his.dao.domain.entity.Registration;
import com.his.util.result.RestResult;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author fall
 * @since 2022-11-28
 */
public interface  RegistrationService extends IService<Registration> {

    RestResult all(String authorization, ListDto listDto);

    RestResult selectById(Registration registration);

    RestResult getCode(Registration registration);

    String payment(Integer registrationId);

    RestResult atHospital(String authorization, Registration registration);

    RestResult history(String authorization, ListDto listDto);
}
